#ifndef ADMINUI_H
#define ADMINUI_H

#include <QMainWindow>
#include <QTableView>
#include <QSqlTableModel>

namespace Ui {
class adminUI;
}

class adminUI : public QMainWindow
{
    Q_OBJECT
signals:
    void back();
public:
    explicit adminUI(QWidget *parent = nullptr);
    ~adminUI();

private slots:
    void on_pushButton_insert_clicked();

    void on_pushButton_delete_clicked();

    void on_pushButton_submit_clicked();

    void on_pushButton_back_clicked();

    void on_pushButton_user_clock_in_clicked();

    void on_pushButton_user_info_2_clicked();

private:
    Ui::adminUI *ui;
    QSqlTableModel* model_user_info;
    QSqlTableModel* model_user_clock_in;
};

#endif // ADMINUI_H
